package com.svms.save.entitys;

import java.io.Serializable;

/**
 * @author 
 */
public class SvdaWzxx implements Serializable {
    /**
     * 主键序列
     */
    private Long objectid;

    /**
     * 位置编号
     */
    private String wzbh;

    /**
     * 位置名称
     */
    private String wzmc;

    /**
     * 位置描述
     */
    private String wzms;

    /**
     * 操作时间
     */
    private String czsj;

    /**
     * 操作标示
     */
    private String czbs;

    /**
     * 操作人
     */
    private String czr;

    /**
     * 操作单位
     */
    private String czdw;

    /**
     * 位置照片信息
     */
    private String wzzp;

    private static final long serialVersionUID = 1L;

    public Long getObjectid() {
        return objectid;
    }

    public void setObjectid(Long objectid) {
        this.objectid = objectid;
    }

    public String getWzbh() {
        return wzbh;
    }

    public void setWzbh(String wzbh) {
        this.wzbh = wzbh;
    }

    public String getWzmc() {
        return wzmc;
    }

    public void setWzmc(String wzmc) {
        this.wzmc = wzmc;
    }

    public String getWzms() {
        return wzms;
    }

    public void setWzms(String wzms) {
        this.wzms = wzms;
    }

    public String getCzsj() {
        return czsj;
    }

    public void setCzsj(String czsj) {
        this.czsj = czsj;
    }

    public String getCzbs() {
        return czbs;
    }

    public void setCzbs(String czbs) {
        this.czbs = czbs;
    }

    public String getCzr() {
        return czr;
    }

    public void setCzr(String czr) {
        this.czr = czr;
    }

    public String getCzdw() {
        return czdw;
    }

    public void setCzdw(String czdw) {
        this.czdw = czdw;
    }

    public String getWzzp() {
        return wzzp;
    }

    public void setWzzp(String wzzp) {
        this.wzzp = wzzp;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SvdaWzxx other = (SvdaWzxx) that;
        return (this.getObjectid() == null ? other.getObjectid() == null : this.getObjectid().equals(other.getObjectid()))
            && (this.getWzbh() == null ? other.getWzbh() == null : this.getWzbh().equals(other.getWzbh()))
            && (this.getWzmc() == null ? other.getWzmc() == null : this.getWzmc().equals(other.getWzmc()))
            && (this.getWzms() == null ? other.getWzms() == null : this.getWzms().equals(other.getWzms()))
            && (this.getCzsj() == null ? other.getCzsj() == null : this.getCzsj().equals(other.getCzsj()))
            && (this.getCzbs() == null ? other.getCzbs() == null : this.getCzbs().equals(other.getCzbs()))
            && (this.getCzr() == null ? other.getCzr() == null : this.getCzr().equals(other.getCzr()))
            && (this.getCzdw() == null ? other.getCzdw() == null : this.getCzdw().equals(other.getCzdw()))
            && (this.getWzzp() == null ? other.getWzzp() == null : this.getWzzp().equals(other.getWzzp()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getObjectid() == null) ? 0 : getObjectid().hashCode());
        result = prime * result + ((getWzbh() == null) ? 0 : getWzbh().hashCode());
        result = prime * result + ((getWzmc() == null) ? 0 : getWzmc().hashCode());
        result = prime * result + ((getWzms() == null) ? 0 : getWzms().hashCode());
        result = prime * result + ((getCzsj() == null) ? 0 : getCzsj().hashCode());
        result = prime * result + ((getCzbs() == null) ? 0 : getCzbs().hashCode());
        result = prime * result + ((getCzr() == null) ? 0 : getCzr().hashCode());
        result = prime * result + ((getCzdw() == null) ? 0 : getCzdw().hashCode());
        result = prime * result + ((getWzzp() == null) ? 0 : getWzzp().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", objectid=").append(objectid);
        sb.append(", wzbh=").append(wzbh);
        sb.append(", wzmc=").append(wzmc);
        sb.append(", wzms=").append(wzms);
        sb.append(", czsj=").append(czsj);
        sb.append(", czbs=").append(czbs);
        sb.append(", czr=").append(czr);
        sb.append(", czdw=").append(czdw);
        sb.append(", wzzp=").append(wzzp);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}